<?php 
$redis = array (
  'hostname' => '127.0.0.1',
  'port' => '6379',
  'password' => '123456',
  'database' => 0,
);
 return $redis;